#ifndef _SERVER_MYSQLAREA_HPP_
#define _SERVER_MYSQLAREA_HPP_

#include <mysql++/mysql++.h>
#include <mysql++/ssqls.h>

sql_create_14(MySQLArea, 1, 14,
             mysqlpp::sql_int, idareas,
             mysqlpp::sql_int, setting,
             mysqlpp::sql_varchar, name,
             mysqlpp::sql_text, desc,
             mysqlpp::sql_int, north,
             mysqlpp::sql_int, south,
             mysqlpp::sql_int, west,
             mysqlpp::sql_int, east,
             mysqlpp::sql_int, contains,
             mysqlpp::sql_int, npcs,
             mysqlpp::sql_varchar, map,
             mysqlpp::sql_int, up,
             mysqlpp::sql_int, down,
             mysqlpp::sql_varchar, title
)

//! MySQL DB class for Action
sql_create_6(MySQLAction, 2, 6,
	mysqlpp::sql_int, idactions,
	mysqlpp::sql_varchar, name,
	mysqlpp::sql_enum, time,
	mysqlpp::sql_enum, type,
	mysqlpp::sql_bool, training,
    mysqlpp::sql_text, desc
)

#endif
